package com.face.server.communication.mina.config;

import org.springframework.beans.factory.annotation.Value;
import org.springframework.context.annotation.Configuration;
import org.springframework.context.annotation.PropertySource;

/**
 * @author yangzhongming
 * @desc 人脸识别出纸机--mina 服务端配置信息
 * @date 2022/1/24
 */
@Configuration
@PropertySource("classpath:mina.properties")
public class MinaConfig {

    @Value("${mina.server.port}")
    private int serverPort;


    @Value("${mina.server.idleTime}")
    private int serverIdleTime;


    public int getServerPort() {
        return serverPort;
    }


    public int getServerIdleTime() {
        return serverIdleTime;
    }


}
